package com.leslie.hhcommunity.service;

import com.leslie.hhcommunity.entity.DiscussPost;
import org.springframework.data.domain.Page;

public interface ElasticSearchService {

	public void saveDiscussPost(DiscussPost post);

	public void deleteDiscussPost(int id);

	public Page<DiscussPost> searchDiscussPost(String keyword, int current, int limit);

}
